remount: Refactor to helper function instead of loop
authorColin Walters <walters@verbum.org>
Sun, 21 Oct 2018 16:53:27 +0000 (12:53 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 22 Oct 2018 18:53:27 +0000 (18:53 +0000)
commit1e16aec357c5c6f02d358c81ce8c81ce68fe0818
tree07f5b711185d534d857cc4f6e2e3c30b44ec29d4
parent1d6347fe971761978244413b578552f7082e3299
remount: Refactor to helper function instead of loop

Prep for further work.  It was silly to use a loop on
a static array of two elements.

Closes: #1760
Approved by: jlebon
src/switchroot/ostree-remount.c